package com.example.yilanchatserver.dal.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("knowledge")
public class KnowledgeEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String userId;

    private Long knowledgeId;

    @TableLogic
    private Integer deleteFlag;

    private String product;

    private String virtualRoleUk;

    private String spaceId;

    private String service;
}
